function getQueryString(name)
{
	var reg = new RegExp("(^|\\?|&)"+name+"=([^&]*)(\\s|&|$)", "i");
	//if (reg.test(location.href)) return unescape(RegExp.$2.replace(/\+/g, " ")); return "";
	if (reg.test(location.href)) return decodeURIComponent(RegExp.$2.replace(/\+/g, " ")); return "";
}
